FROM java:8
MAINTAINER gzh

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
EXPOSE 8010
ADD *.jar /app.jar

ENTRYPOINT ["java","-jar","/app.jar","--server.port=8010"]
